package design.graduation.novelsystem.service;

import design.graduation.novelsystem.model.domian.SystemNotice;
import com.baomidou.mybatisplus.extension.service.IService;
import design.graduation.novelsystem.model.dto.DataGridView;
import design.graduation.novelsystem.model.vo.SystemNoticeVo;

/**
 * @author: 洪少尉
 * @Date: 2020/4/15 16:13
 * @Description: 
 */
public interface SystemNoticeService extends IService<SystemNotice>{
	/**
	 * 全查询+条件查询
	 * @param systemNoticeVo 查询条件
	 * @return DataGridView
	 */
	DataGridView queryAllSystemNotice(SystemNoticeVo systemNoticeVo);

	/**
	 * 保存系统公告
	 * @param systemNotice 系统公告信息
	 * @return boolean
	 */
	boolean saveSystemNotice(SystemNotice systemNotice);
}
